import Vue from 'vue'
import Router from 'vue-router'

import LiveSetting from '../Views/LiveSetting.vue'
import Player from '../Views/Player.vue'

Vue.use(Router)

const router = new Router({
  routes: [
    {
      path: '/:info',
      component: LiveSetting
    },
    {
      path: '/live/:uidip',
      component: Player
    }
  ],
  base: '/liveset/'
  // mode: 'history'
})

export default router
